d = {'apple':'red', 'orange':'red','banana':'yellow'}

del d['orange']
print d

d['pear'] = 'yellow'
print d